package com.example.ch03.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 药品供货商
 * </p>
 *
 * @author caozhiren
 * @since 2024-01-27
 */
@TableName("t_supplier")
public class TSupplier implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 供货商编号
     */
    private String supCode;

    /**
     * 供货商名称
     */
    private String supName;

    /**
     * 供货商描述
     */
    private String supDesc;

    /**
     * 供货商联系人
     */
    private String supContact;

    /**
     * 联系电话
     */
    private String supPhone;

    /**
     * 供货商地址
     */
    private String supAddress;

    /**
     * 传真
     */
    private String supFax;

    /**
     * 创建人id
     */
    private Long createdUserId;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

    /**
     * 修改时间
     */
    private LocalDateTime updatedTime;

    /**
     * 修改人id
     */
    private Long updatedUserId;

    /**
     * 营业执照
     */
    private String companyLicPicPath;

    /**
     * 代码证
     */
    private String orgCodePicPath;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSupCode() {
        return supCode;
    }

    public void setSupCode(String supCode) {
        this.supCode = supCode;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public String getSupDesc() {
        return supDesc;
    }

    public void setSupDesc(String supDesc) {
        this.supDesc = supDesc;
    }

    public String getSupContact() {
        return supContact;
    }

    public void setSupContact(String supContact) {
        this.supContact = supContact;
    }

    public String getSupPhone() {
        return supPhone;
    }

    public void setSupPhone(String supPhone) {
        this.supPhone = supPhone;
    }

    public String getSupAddress() {
        return supAddress;
    }

    public void setSupAddress(String supAddress) {
        this.supAddress = supAddress;
    }

    public String getSupFax() {
        return supFax;
    }

    public void setSupFax(String supFax) {
        this.supFax = supFax;
    }

    public Long getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Long createdUserId) {
        this.createdUserId = createdUserId;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Long updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public String getCompanyLicPicPath() {
        return companyLicPicPath;
    }

    public void setCompanyLicPicPath(String companyLicPicPath) {
        this.companyLicPicPath = companyLicPicPath;
    }

    public String getOrgCodePicPath() {
        return orgCodePicPath;
    }

    public void setOrgCodePicPath(String orgCodePicPath) {
        this.orgCodePicPath = orgCodePicPath;
    }

    @Override
    public String toString() {
        return "TSupplier{" +
        "id = " + id +
        ", supCode = " + supCode +
        ", supName = " + supName +
        ", supDesc = " + supDesc +
        ", supContact = " + supContact +
        ", supPhone = " + supPhone +
        ", supAddress = " + supAddress +
        ", supFax = " + supFax +
        ", createdUserId = " + createdUserId +
        ", createdTime = " + createdTime +
        ", updatedTime = " + updatedTime +
        ", updatedUserId = " + updatedUserId +
        ", companyLicPicPath = " + companyLicPicPath +
        ", orgCodePicPath = " + orgCodePicPath +
        "}";
    }
}
